<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html">
    <h:head>
        <title>JSF and Bean Validation</title>
    </h:head>
    <h:body>
        <h1>JSF and Bean Validation</h1>
        <h:form>
            Name: <h:inputText value="#{myBean.name}"/>
            Age: <h:inputText value="#{myBean.age}"/>
            Zip: <h:inputText value="#{myBean.zip}"/>
            <h:commandButton value="Submit"/>
        </h:form>
    </h:body>
</html>

